package com.woniuxy.microfixeddepositserver.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.bean.bank.BankBean;

public interface IBankService {

    PageInfo<BankBean> selectALL (Integer page, Integer limit);

    PageInfo<BankBean> selectALLByQuery (Integer page, Integer limit, String bankName);

    int updateBank (BankBean bankBean);

    int deleteBank (Integer id);

    int addBank (BankBean bankBean);

    BankBean getBankById (Integer id);
}
